<template>
    <div class="divider-wrapper">
        <slot></slot>
    </div>
</template>

<script>
    export default {
        name: 'divider',
        data() {
            return{}
        },
        props: {
        }
    }
</script>

<style scoped>
.divider-wrapper {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: #969799;
    font-size: 14px;
    line-height: 24px;
    border-color: #ebedf0;
    border-style: solid;
    border-width: 0;
}
.divider-wrapper::before {
    content: ' ';
    display: block;
    flex: 1;
    box-sizing: border-box;
    height: 1px;
    margin-right: .1rem;
    border-color: inherit;
    border-style: inherit;
    border-width: 1px 0 0;
}
.divider-wrapper::after {
    content: ' ';
    display: block;
    flex: 1;
    box-sizing: border-box;
    margin-left: .1rem;
    height: 1px;
    border-color: inherit;
    border-style: inherit;
    border-width: 1px 0 0;
}
</style>
